From: Florian Müllner Date: Tue, 1 Sep 2026 19:44:24 +0000 (+0200) Subject: extensionSystem: Log errors of async D-Bus call X-Git-Tag: archive/raspbian/50.5-1+rpi1^2~6^2^2~15 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=37b199bda13386c3260688ed1d909de70e16566a;p=gnome-shell.git extensionSystem: Log errors of async D-Bus call The OpenExtensionPrefs D-Bus method may return an error — for example when there already is an open dialog — so log the error to avoid "unhandled promise rejection" warnings in the log. Part-of: (cherry picked from commit 2c536f5b3b0957e34da54fb401a70efd01f9f235) --- diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index 9a34a9cbf..1d856d5c9 100644 --- a/js/ui/extensionSystem.js +++ b/js/ui/extensionSystem.js @@ -324,7 +324,7 @@ export class ExtensionManager extends Signals.EventEmitter { null, Gio.DBusCallFlags.NONE, -1, - null); + null).catch(logError); return true; }